package com.hgd.impl;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import org.hibernate.Session;
import com.hgd.DAO.TaskDAO;
import com.hgd.ORM.Device;
import com.hgd.ORM.Domain;
import com.hgd.ORM.Task;
import com.hgd.ORM.TaskKind;
import com.hgd.ORM.Waring;
import com.hgd.hibernate.HibernateUtil;

@javax.jws.WebService(targetNamespace = "http://impl.hgd.com/", serviceName = "TaskImplService", portName = "TaskImplPort", wsdlLocation = "WEB-INF/wsdl/TaskImplService.wsdl")
public class TaskImplDelegate {

	com.hgd.impl.TaskImpl taskImpl = new com.hgd.impl.TaskImpl();

	public boolean dispatchTask(Integer kindId, Integer deviceId) {
		return taskImpl.dispatchTask(kindId, deviceId);
	}

	public List<TaskKind> getTaskKind(int dId) {
		return taskImpl.getTaskKind(dId);
	}

	public int taskDel(int taskId) {
		return taskImpl.taskDel(taskId);
	}

	public List<TaskKind> getDeviceTaskKind() {
		return taskImpl.getDeviceTaskKind();
	}

	public void snmpRun() {
		taskImpl.snmpRun();
	}

	public List<TaskKind> getForeverTaskKind() {
		return taskImpl.getForeverTaskKind();
	}

	public List<Task> taskStatusMonitoring() {
		return taskImpl.taskStatusMonitoring();
	}

	public List<Waring> getWaringByTKId(int tkId) {
		return taskImpl.getWaringByTKId(tkId);
	}

	public List<Waring> getWaringList() {
		return taskImpl.getWaringList();
	}

	public int waringAdd(int tId, Waring waring) {
		return taskImpl.waringAdd(tId, waring);
	}

	public void main(String[] args) {
		taskImpl.main(args);
	}

}